package com.ltkj.system.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ltkj.common.core.annotation.Excel;
import com.ltkj.common.core.web.domain.BaseEntity;

/**
 * 用户和基础店铺关联对象 sys_user_stores
 * 
 * @author xupf
 * @date 2023-09-09
 */
@ApiModel(value = "用户和基础店铺关联")
public class SysUserStores extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    @ApiModelProperty("用户ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;

    /** 基础店铺ID */
    @ApiModelProperty("基础店铺ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long sysStoresId;

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setSysStoresId(Long sysStoresId) 
    {
        this.sysStoresId = sysStoresId;
    }

    public Long getSysStoresId() 
    {
        return sysStoresId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("sysStoresId", getSysStoresId())
            .toString();
    }
}
